package com.gton.handler;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Collection;

/**
 * @description: EasyBaseMapper<T> extends BaseMapper<T>
 * @author: GuoTong
 * @createTime: 2022-12-06 16:29
 * @since JDK 1.8 OR 11
 **/
public interface  EasyBaseMapper<T> extends BaseMapper<T> {
    /**
     * 批量插入 仅适用于mysql
     *
     * @param entityList 实体列表
     * @return 影响行数
     */
    Integer insertBatchSomeColumn(Collection<T> entityList);
}
